package com.plumelog.lite.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "plumelog.login")
public class PlumeLogLoginConfig {
    @Value("${plumelog.login.name:admin}")
    private String name;
    @Value("${plumelog.login.password:123456}")
    private String password;

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(final String password) {
        this.password = password;
    }
}
